CC      = gcc
CCFLAGS = -Imaxifs-lib -g
LDFLAGS = -lpthread -lm -lrt
RM      = rm -f

PROGRAM = generator
SOURCES = generator.c boxmuller.c r250.c randlcg.c maxifs-lib/sfr.c

$(PROGRAM): $(SOURCES)
	$(CC) $(CCFLAGS) -o $(PROGRAM) $(SOURCES) $(LDFLAGS)

clean:
	$(RM) $(PROGRAM)
